@charset "UTF-8";
@import "headerFooter";


/*section start*/
section {
  padding: 10px 0;
}

/*article start**/
article {
  @include main;

  .docHeadWrap {
    height: 100px;

    .shoppingProcess {
      float: right;
      width: 662px;
      height: 35px;
      display: inline;
      margin-top: 30px;
      background: url("../img/shopCar/shopCarIcon.png") no-repeat;

      li {
        color: #333333;
        font-size: 14px;
        width: 218px;
        float: left;
        height: 35px;
        line-height: 35px;
        text-align: center;

        &:first-child {
          color: #ffffff;
          font-weight: bold;
        }
      }
    }
  }

  .carBox {
    margin-top: 15px;

    .myCart {
      font-size: 16px;
      font-weight: bold;
      color: #e4393c;
      line-height: 32px;
    }

    .myCarBox {
      .head {
        color: #999;
        border: 1px solid #eaeaea;
        border-bottom: none;
        height: 42px;
        line-height: 42px;

        .col {
          float: left;
          padding: 0 10px;
          font-size: 13px;
          color: #666;
          box-sizing: border-box;
        }

        .col1 {
          width: 114px;
          display: flex;
          align-items: center;

          input {
            margin-right: 16px;
          }
        }

        .col2 {
          width: 496px;
        }

        .col3, .col4, .col5 {
          width: 150px;
        }

        .col6 {
          width: 138px;
        }
      }

      .goods-car {
        color: #333;
        border: 1px solid #eaeaea;

        li {
          border-bottom: 1px solid #eaeaea;
          display: table;
          padding: 22px 0;
          position: relative;
          width: 100%;
          background: #FCFCFC;

          .col {
            float: none;
            display: table-cell;
            vertical-align: middle;
            font-size: 13px;
            color: #666;
            padding: 0 10px;
            box-sizing: border-box;
          }

          .col1 {
            padding-right: 0;
            width: 50px;
          }

          .col2 {
            padding: 0 10px 0 0;
            width: 560px;

            .goodsImg {
              display: block;
              float: left;
              width: 80px;
              height: 80px;

              img {
                width: 80px;
                height: 80px;
                border: 1px solid #eaeaea;
              }
            }

            .txtWrap {
              margin-left: 20px;
              width: 345px;
              float: left;

              .goodTlt {
                height: 36px;
                line-height: 18px;
                overflow: hidden;

                .goodsName {
                  color: #333;
                  font-size: 14px;
                  display: block;
                }
              }
            }
          }

          .col3 {
            width: 150px;

            span {
              font-weight: bold;
              font-size: 14px;
              color: #333;
            }
          }

          .col4 {
            width: 152px;

            .u-setCount {
              display: inline-block;
              background-color: #fff;
              font-size: 16px;
              margin-top: 8px;

              .goodsNum {
                float: left;
                width: 43px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                border: #bcbcbc solid;
                border-width: 1px 0 1px;
                box-sizing: border-box;
              }

              .addReduce {
                float: left;
                width: 20px;
                height: 20px;
                line-height: 17px;
                text-align: center;
                cursor: pointer;
                text-decoration: none;
                border: 1px solid #bcbcbc;
                color: #333;
                box-sizing: border-box;

                &.disabled {
                  cursor: not-allowed;
                  color: #bcbcbc;
                  border-color: #bcbcbc;
                }

                &.reduce {
                  line-height: 16px;
                }
              }
            }
          }

          .col5 {
            width: 150px;

            .sumPrice {
              font-weight: bold;
              font-size: 14px;
              color: $orange;
            }
          }

          .col6 {
            width: 138px;

            .delete {
              display: block;
              color: #333;
              cursor: pointer;
              line-height: 25px;
              height: 25px;

              &:hover {
                color: $orange;
              }
            }
          }
        }
      }

      .totalBox {
        min-height: 62px;
        position: relative;
        width: 100%;
        border: 1px solid #eaeaea;
        margin: 15px 0;
        font-size: 12px;
        background: #F7F7F7;

        .total-left {
          float: left;
          width: 300px;
          margin: 20px 10px;
          display: flex;
          align-items: center;

          label {
            color: #000;
            font-weight: 100;
            margin-left: 10px;
          }

          a.opt {
            font-weight: 100;
            margin-left: 15px;
          }
        }

        .total-right {
          float: right;
          padding-right: 140px;
          line-height: 20px;
          text-align: right;

          .cart-money {
            position: relative;
            width: 190px;
            line-height: 23px;
            text-align: left;
            padding: 14px 0 14px 25px;
            border-right: 1px solid #eaeaea;
          }

          .allGoods {
            .opt {
              .chooseGoodsNum {
                color: #ff6600;
                font-size: 16px;
                font-weight: bold;
              }
            }

            &:after {
              content: "";
              position: absolute;
              right: -35px;
              top: 5px;
              z-index: 100;
              background: url('../img/shopCar/reduce.jpg') no-repeat center center;
              width: 70px;
              height: 70px;
            }
          }

          .discount {
            width: 100px;

            .couponsBackCashAmount {
              color: #ff6600;
              font-size: 16px;
              font-weight: bold;
            }

            &:after {
              content: "";
              position: absolute;
              right: -35px;
              top: 5px;
              z-index: 100;
              background: url('../img/shopCar/equal.jpg') no-repeat center center;
              width: 70px;
              height: 70px;
            }
          }

          .allMoney {
            width: 160px;

            .sumRealMoney {
              color: #ff6600;
              font-size: 18px;
              font-weight: bold;
            }
          }

          .calculate {
            position: absolute;
            right: 0;
            top: -1px;
            bottom: 0;
            width: 140px;
            @include lineCenter(78px);
            text-align: center;
            background-color: #e50007;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
          }
        }
      }
    }

  }

  .blankReplace {
    position: relative;
    font-size: 16px;
    height: 218px;
    background: url("../img/detail/blankReplace.png") 336px 91px no-repeat;

    .replace-wrap {
      position: absolute;
      left: 396px;
      top: 90px;
      line-height: 24px;

      a {
        color: #38d;
      }
    }
  }
}

/*article end*/
/*section end*/